package com.ccnu.JobHub.model.database;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("collections")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Collection {
    @TableId("collectionId")
    private Long collectionId;

    @TableField("post_id")
    private Long postId;

    @TableField("studentId")
    private Long studentId;
}
